﻿@model SIGCBI.Entities.REDUCIR_PRESUPUESTO

<p></p>
@using (Html.BeginForm("ReducirPresupuesto", "FuenteFinanciera", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div id="FormAjaxSubmitNotifications"></div>
    
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <div class="panel panel-default">
        <div class="panel-heading"><b>Reducir Presupuesto a Partida</b></div>
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-responsive">
                    <thead>
                        <tr>
                            <th>Centro de Costo: </th>
                            <th>@Html.DropDownList("cmbCentros")@Html.ValidationMessageFor(model => model.TipoDoc)</th>
                        </tr>
                        <tr>
                            <th>Tipo de Comprobante: </th>
                            <th>@Html.DropDownList("cmbComprobante")</th>
                        </tr>
                        <tr>
                            <th>Nro. Doc: </th>
                            <th>@Html.TextBoxFor(model => Model.NroDoc, new { @class = "alert-success" })
                                @Html.ValidationMessageFor(model => model.NroDoc)
                            </th>
                        </tr>
                        <tr>
                            <th>Fuente Financiera: </th>
                            <th>@Html.DropDownList("cmbFuentes")</th>
                        </tr>
                        <tr>
                            <th>Partida:</th>
                            <th>
                                @Html.DropDownList("cmbPartidas")
                                @Html.HiddenFor(model => model.IdPartida)
                            </th>
                        </tr>
                        <tr>
                            <th>Monto:</th>
                            <th>
                            @Html.TextBoxFor(model => Model.Monto, new { @class = "alert-success" })
                            @Html.ValidationMessageFor(model => model.Monto)
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
    </div>
    <br />
}
<p></p>
<p>
    <button type="submit" id="btnGuardar" value="Create" class="btn btn-default btn-lg active">Guardar</button>
    <a href="@Url.Action("Index", "Home")" class="btn btn-default btn-lg active" role="button">Cancelar</a>
</p>

@section scripts
{
    <script src="~/Scripts/ReducirPresupuesto.js" type="text/javascript"></script>

}